package com.lanyun.aicorrectassistant.convert;

import com.lanyun.aicorrectassistant.basic.entity.AiModel;
import com.lanyun.aicorrectassistant.controller.admin.aiModel.vo.AiModelRequestPageVO;
import com.lanyun.aicorrectassistant.controller.admin.aiModel.vo.AiModelRequestVO;
import com.lanyun.aicorrectassistant.controller.admin.aiModel.vo.AiModelResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 大模型信息表（管理员维护）转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-05-29 23:26:28
 */
@Mapper
public interface AiModelConvert {

    AiModelConvert INSTANCE = Mappers.getMapper(AiModelConvert.class);

    AiModel convert(AiModelResponseVO responseVO);

    AiModel convert(AiModelRequestVO requestVO);

    AiModel convert(AiModelRequestPageVO requestPageVO);

    AiModelResponseVO convert(AiModel entity);

    List<AiModelResponseVO> convertEntityToRespList(List<AiModel> entities);
}
